//
//  MSLNormalSlider.h
//  GreetCard
//
//  Created by CPX on 2018/9/13.
//  Copyright © 2018年 CPX. All rights reserved.
//

#import "BaseView.h"


/**
 贺卡滑动View
 */
@interface MSLNormalSlider : BaseView

@property (nonatomic,strong)UISlider  * slider;/**<滑块slider */
@property (nonatomic,strong)UILabel  * titleLabel;/**<左边主题显示 */
@property (nonatomic,strong)UILabel  * valueLabel;/**<右边值显示 */


/**
 slider 滑动回调
 */
@property (nonatomic,copy)void  (^sliderValueEvent)(float value,MSLNormalSlider * sender);

/**
 通用slier 构造方法

 @param title 左边title
 @param value_default slider默认值
 @param value_max slider最大值
 @param string_value 右边值string(eg:"%")
 @return return value description
 */
-(instancetype)initWithTitle:(NSString *)title
                defaultValue:(float)value_default
                   value_max:(float)value_max
                 valueString:(NSString *)string_value ;



@end
